import React from 'react';
import { componentClass, ComponentProps } from '../../../common/Component';
import './index.less';
import Text from '../../widget/text';
import Print from '../../widget/print';


export default function PowerPoint(props: React.PropsWithChildren<ComponentProps>){
    return <div className={componentClass(props, 'apps-powerpoint')}>
        <Text>
            <Print width="8in" height="4.5in" marginTB='0' marginLR='0'>
                <div className='powerpoint-body content'>
                    {props.children}
                </div>
            </Print>
        </Text>
    </div>
}